/**
 * 专门暴露一个 store 对象 , 整个应用只有一个 store 对象 
 */
import { legacy_createStore as createStore,applyMiddleware} from 'redux'

import countReducer from './count_reducer'
import {thunk} from 'redux-thunk'

//暴露出来store 

export default createStore(countReducer,applyMiddleware(thunk))
